package com.example.travelhelper.service;

import com.example.travelhelper.pojo.CustomerService;
import com.example.travelhelper.utils.ResponseData;

import java.util.List;

/**
 * @Author: zq
 * @Description: TODO
 * @Date: 2024/4/9 11:55
 * @Version: 1.8
 */
public interface CustomerSeService {
    //增加客服账户
    void addCustomerSe(String csUsername, String csTelephone);

    //通过电话查询
    boolean selectByPhone(String csTelephone);

/*    //通过id删除账号
    void deleteById(String id);*/

    //通过id删除账号
    ResponseData deleteById(String id);

    //通过id查询账号
    CustomerService getById(String id);

/*    //更新账号
    void update(CustomerService customerService);*/
    //更新账号
    ResponseData update(CustomerService customerService);

    //查询所有账号
    List<CustomerService> list();

    ResponseData getbyState();

    ResponseData isstate(String phone);

    ResponseData updateState(CustomerService customerService);


}
